package com.feicheng.base.batch;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class Batch {

    public static String getBatch(Integer userId, Integer storeId) {
        StringBuffer batch = new StringBuffer(LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss")));
        return (batch.append(userId).append(storeId)).toString();
    }
}

